/**
 * Create by richliu1023
 * @date 16/5/19
 * @email richliu1023@gmail.com
 * @github https://github.com/RichLiu1023
 * @description a simple explanation
 */
class LightControl {

	//private static _worldCvs:WorldCanvas;
	private static _lightGrp:egret3d.LightBase[] = [];
	private static _view3dChildren:egret3d.Mesh[] = [];
	private static _lightGroup:egret3d.LightGroup = new egret3d.LightGroup();

	public static setup():void {
	}

	public static get lightGrp():egret3d.LightBase[] {
		return this._lightGrp;
	}

	public static setLigthGroup( mate:egret3d.Mesh ):void {
		this._view3dChildren.push( mate );
		mate.lightGroup = this._lightGroup;
	}
}